package com.gpframework.common.pay.leshua.res;


/**
 * @author eden
 * @date 2018/5/21 下午3:36
 * @desc
 */
public class LeshuaMicroPayRes extends LeshuaBaseRes {

	/** 乐刷商户号 **/
	public String merchant_id;
	
	/** 商户订单号 **/
	public String third_order_id;

	/** 订单状态，0-支付中，2-支付成功，8-支付失败，10-退款中，11-退款成功，12-退款失败 **/
	public String status;

	/** 乐刷订单号 **/
	public String leshua_order_id;

	/** 支付类型 **/
	public String pay_way;

	/** 银行类型 **/
	private String bank_type;

	/** 用户openID **/
	private String openid;

	/** 渠道订单号,微信，支付宝 **/
	private String out_transaction_id;
	
	/**
	 * 用户子标识
	 */
	private String sub_openid;
	
	/**
	 * 附加数据
	 */
	private String attach;
	
	/**
	 * 交易类型
	 */
	private String trade_type;

	/**
	 * 订单优惠标记
	 */
	private String goods_tag;
	
	/**
	 * 渠道订单号
	 */
	private String channel_order_id;

	/**
	 * 渠道订单时间
	 */
	private String channel_datetime;
	
	public String getMerchant_id() {
		return merchant_id;
	}

	public void setMerchant_id(String merchant_id) {
		this.merchant_id = merchant_id;
	}

	public String getThird_order_id() {
		return third_order_id;
	}

	public void setThird_order_id(String third_order_id) {
		this.third_order_id = third_order_id;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}

	public String getLeshua_order_id() {
		return leshua_order_id;
	}

	public void setLeshua_order_id(String leshua_order_id) {
		this.leshua_order_id = leshua_order_id;
	}

	public String getPay_way() {
		return pay_way;
	}

	public void setPay_way(String pay_way) {
		this.pay_way = pay_way;
	}

	public String getBank_type() {
		return bank_type;
	}

	public void setBank_type(String bank_type) {
		this.bank_type = bank_type;
	}

	public String getOpenid() {
		return openid;
	}

	public void setOpenid(String openid) {
		this.openid = openid;
	}

	public String getOut_transaction_id() {
		return out_transaction_id;
	}

	public void setOut_transaction_id(String out_transaction_id) {
		this.out_transaction_id = out_transaction_id;
	}

	public String getSub_openid() {
		return sub_openid;
	}

	public void setSub_openid(String sub_openid) {
		this.sub_openid = sub_openid;
	}

	public String getAttach() {
		return attach;
	}

	public void setAttach(String attach) {
		this.attach = attach;
	}

	public String getTrade_type() {
		return trade_type;
	}

	public void setTrade_type(String trade_type) {
		this.trade_type = trade_type;
	}

	public String getGoods_tag() {
		return goods_tag;
	}

	public void setGoods_tag(String goods_tag) {
		this.goods_tag = goods_tag;
	}

	public String getChannel_order_id() {
		return channel_order_id;
	}

	public void setChannel_order_id(String channel_order_id) {
		this.channel_order_id = channel_order_id;
	}

	public String getChannel_datetime() {
		return channel_datetime;
	}

	public void setChannel_datetime(String channel_datetime) {
		this.channel_datetime = channel_datetime;
	}

	@Override
	public String toString() {
		final StringBuilder sb = new StringBuilder("LeshuaMicroPayRes{");
		sb.append("merchant_id='").append(merchant_id).append('\'');
		sb.append(", third_order_id='").append(third_order_id).append('\'');
		sb.append(", status='").append(status).append('\'');
		sb.append(", leshua_order_id='").append(leshua_order_id).append('\'');
		sb.append(", pay_way='").append(pay_way).append('\'');
		sb.append(", bank_type='").append(bank_type).append('\'');
		sb.append(", openid='").append(openid).append('\'');
		sb.append(", out_transaction_id='").append(out_transaction_id).append('\'');
		sb.append(", attach='").append(attach).append('\'');
		sb.append(", sub_openid='").append(sub_openid).append('\'');
		sb.append(", trade_type='").append(trade_type).append('\'');
		sb.append(", goods_tag='").append(goods_tag).append('\'');
		sb.append(", channel_datetime='").append(channel_datetime).append('\'');
		sb.append(", channel_order_id='").append(channel_order_id).append('\'');
		sb.append('}');
		return sb.toString();
	}
}
